[NTG-context] Re: Figure reference failing

2024-04-10 Thread Henning Hraban Ramm
Am 10.04.24 um 14:21 schrieb Hans Hagen: It fails for me as well, when "mode=columns" is used. compare with and without mode columns: \starttext     \enablemode[columns]     As we see \doifelsemode {columns} {in \in {table} [demo-1]} {below} we can have     more than one cell in a row.

[NTG-context] Re: Figure reference failing

2024-04-10 Thread Willi Egger
Hm, I see. This question appeared while using the tug-boat-style. Taking the example at the end of the style I adapted my article accordingly. However I missed the point to enable the mode “columns”… Thanks for the explanation! Willi > On 10 Apr 2024, at 14:21, Hans Hagen wrote: > > On

[NTG-context] Re: Figure reference failing

2024-04-10 Thread Hans Hagen
On 4/10/2024 1:30 PM, Taco Hoekwater wrote: On 10 Apr 2024, at 13:04, Willi Egger wrote: Hello, It seems, that the referencing mechanism is failing. I detected this with the January version and the current version: 2024.04.01 08:59. Could some one confirm this? It fails for me as well,

[NTG-context] Re: Figure reference failing

2024-04-10 Thread Taco Hoekwater
> On 10 Apr 2024, at 13:04, Willi Egger wrote: > > Hello, > > It seems, that the referencing mechanism is failing. I detected this with the > January version and the current version: 2024.04.01 08:59. > > Could some one confirm this? It fails for me as well, when "mode=columns" is used.

[NTG-context] Figure reference failing

2024-04-10 Thread Willi Egger
Hello, It seems, that the referencing mechanism is failing. I detected this with the January version and the current version: 2024.04.01 08:59. Could some one confirm this? Kind regards Willi test.pdf Description: Adobe PDF document test.tex Description: Binary data

Re: [NTG-context] Moving up a Figure

2023-06-06 Thread Jeroen via ntg-context
This one works very nicely, though the movesidefloat gives nicely complete control. \samplefile{tufte} \startplacefigure [location={right,halfline}, number=no] \externalfigure[autocad.png][width=0.6\textwidth] \stopplacefigure \samplefile{tufte} Below the figure there is quite some space

Re: [NTG-context] Moving up a Figure

2023-06-05 Thread Aditya Mahajan via ntg-context
On Mon, 5 Jun 2023, Alan Braslau via ntg-context wrote: > On 05/06/23 05/06/23, 00:08, Mikael Sundqvist via ntg-context wrote: > > On Mon, Jun 5, 2023 at 4:03 AM Jeroen via ntg-context > > wrote: > >> Not fully, it indeed moves up the figure but a little too much. Is th

Re: [NTG-context] Moving up a Figure

2023-06-05 Thread Alan Braslau via ntg-context
On 05/06/23 05/06/23, 00:08, Mikael Sundqvist via ntg-context wrote: On Mon, Jun 5, 2023 at 4:03 AM Jeroen via ntg-context wrote: Not fully, it indeed moves up the figure but a little too much. Is there a more granular method? Not that I know of, but maybe {right,halfline} will do? Maybe

Re: [NTG-context] Moving up a Figure

2023-06-05 Thread Mikael Sundqvist via ntg-context
Hi, On Mon, Jun 5, 2023 at 4:03 AM Jeroen via ntg-context wrote: > > Not fully, it indeed moves up the figure but a little too much. Is there a > more granular method? Not that I know of, but maybe {right,halfline} will do?

Re: [NTG-context] Moving up a Figure

2023-06-04 Thread Jeroen via ntg-context
Not fully, it indeed moves up the figure but a little too much. Is there a more granular method? Op za 3 jun 2023 om 20:24 schreef Mikael Sundqvist via ntg-context < ntg-context@ntg.nl>: > Hi, > > On Sat, Jun 3, 2023 at 6:36 PM Jeroen via ntg-context > wrote: > > > &

Re: [NTG-context] Moving up a Figure

2023-06-03 Thread Mikael Sundqvist via ntg-context
Hi, On Sat, Jun 3, 2023 at 6:36 PM Jeroen via ntg-context wrote: > > With the following example, the figure is placed a little lower than the > first text line. The top of the figure is at about the middle of the first > line. Is there a way to move-up the figure sligh

[NTG-context] Moving up a Figure

2023-06-03 Thread Jeroen via ntg-context
With the following example, the figure is placed a little lower than the first text line. The top of the figure is at about the middle of the first line. Is there a way to move-up the figure slightly to align it with the top of the text line? \useMPlibrary[dum] \starttext \startplacefigure

Re: [NTG-context] How to really force figure to appear "here"?

2023-05-24 Thread Henning Hraban Ramm via ntg-context
Am 21.05.23 um 15:17 schrieb Wolfgang Schuster via ntg-context: Joel via ntg-context schrieb am 21.05.2023 um 15:11: Here, I've created an example that does just that. I want the figure to appear immediately after the bold text. Even if a lot of whitespace is placed and the figure appears

Re: [NTG-context] How to really force figure to appear "here"?

2023-05-21 Thread Wolfgang Schuster via ntg-context
Joel via ntg-context schrieb am 21.05.2023 um 15:11: Here, I've created an example that does just that. I want the figure to appear immediately after the bold text. Even if a lot of whitespace is placed and the figure appears on the next page, that is fine, but I don't want the next group

Re: [NTG-context] How to really force figure to appear "here"?

2023-05-21 Thread Joel via ntg-context
Here, I've created an example that does just that. I want the figure to appear immediately after the bold text. Even if a lot of whitespace is placed and the figure appears on the next page, that is fine, but I don't want the next group of text to appear until *after* the figure

Re: [NTG-context] How to really force figure to appear "here"?

2023-05-21 Thread Mikael Sundqvist via ntg-context
xpect to see a > picture, but its somehow appearing two pages later. I don't care it it > requires a huge blank area on the page before it, how can I make it so any > text after \placefigure[here, force] doesn't appear before the figure? > > --Joel You submit no example, but with th

[NTG-context] How to really force figure to appear "here"?

2023-05-20 Thread Joel via ntg-context
it it requires a huge blank area on the page before it, how can I make it so any text after \placefigure[here, force] doesn't appear before the figure? --Joel ___ If your question is of interest to others as well, please add

Re: [NTG-context] SVG ViewBox figure battle

2023-05-20 Thread Max Chernoff via ntg-context
Hi, > Any ideas on how to force that setting without modifying grph-con.lua? This seems to work: \startluacode function figures.converters.svg.pdf(oldname, newname) figures.programs.inkscape.runner { format = "filename", resolution = "600", crop

Re: [NTG-context] SVG ViewBox figure battle

2023-05-20 Thread Thangalin via ntg-context
Hi again, I changed tex/texmf-context/tex/context/base/mkiv/grph-con.lua to replace "" with "--export-area-page" in the inkscapecrop function: local function inkscapecrop(specification) return (specification and specification.crop == v_yes) and "--export-area-drawing" or

[NTG-context] SVG ViewBox figure battle

2023-05-19 Thread Thangalin via ntg-context
Hi there! The following document contains SVG. Save the SVG as "problem.svg" and run the document through LMTX version 2023.05.08 17:39: % SOF \startbuffer[csvg] \stopbuffer \starttext % honours viewbox \placefigure[none]{}{\includesvgbuffer[csvg]} \page % dishonours viewbox

Re: [NTG-context] Disappearing footnote in figure / tabulate

2023-03-02 Thread Hans Hagen via ntg-context
On 3/2/2023 11:49 AM, Denis Maier via ntg-context wrote: Ok, I’ve somehow managed to isolate the issue in my real document. There, the issue happens only when a new paragraph starts after the tabulate. If there’s nothing after the tabulate, the footnotes appears... Also, if I’m using

Re: [NTG-context] Disappearing footnote in figure / tabulate

2023-03-02 Thread Denis Maier via ntg-context
Denis Maier via ntg-context Gesendet: Donnerstag, 2. März 2023 09:21 An: ntg-context@ntg.nl Cc: Maier, Denis Christian (UB) Betreff: [NTG-context] Disappearing footnote in figure / tabulate Hi, I have a strange case where a footnote in a tabulate disappears. Strangely, I *cannot* reproduce

[NTG-context] Disappearing footnote in figure / tabulate

2023-03-02 Thread Denis Maier via ntg-context
] a2 b a2 b \stopbuffer \startxmlsetups xml:test \xmlsetsetup{\xmldocument}{document|table-wrap|table|figure|p|footnote}{xml:*} \stopxmlsetups \xmlregistersetup{xml:test} \startxmlsetups xml:document

Re: [NTG-context] MP figure continuation

2023-01-06 Thread Alan Braslau via ntg-context
On Fri, 6 Jan 2023 15:43:07 +0100 Alexandre Christe via ntg-context wrote: > Dear list, > > Is there a way to "continue" an MP figure? Like keeping the axes, > etc. and just adding code to the figure? > > Maybe I missed something, otherwise I'd find it super us

Re: [NTG-context] MP figure continuation

2023-01-06 Thread Alexandre Christe via ntg-context
Aye, thanks Mikael and Gavin. Hard 2023 re-start... Le ven. 6 janv. 2023 à 15:58, Gavin a écrit : > Hi Alex, > > > Is there a way to "continue" an MP figure? Like keeping the axes, etc. > and just adding code to the figure? > > Buffers might be what yo

Re: [NTG-context] MP figure continuation

2023-01-06 Thread Gavin via ntg-context
Hi Alex, > Is there a way to "continue" an MP figure? Like keeping the axes, etc. and > just adding code to the figure? Buffers might be what you want. From the MetaFun manual: > Buffers can be used to stepwise build graphics. By putting code in multiple > buffers, you c

Re: [NTG-context] MP figure continuation

2023-01-06 Thread Mikael Sundqvist via ntg-context
On Fri, Jan 6, 2023 at 3:43 PM Alexandre Christe via ntg-context wrote: > > Dear list, > > Is there a way to "continue" an MP figure? Like keeping the axes, etc. and > just adding code to the figure? > > Maybe I missed something, otherwise I'd find it supe

[NTG-context] MP figure continuation

2023-01-06 Thread Alexandre Christe via ntg-context
Dear list, Is there a way to "continue" an MP figure? Like keeping the axes, etc. and just adding code to the figure? Maybe I missed something, otherwise I'd find it super useful. Thanks in advance and happy new

Re: [NTG-context] Margin figure in itemize

2022-11-22 Thread Alain Delmotte via ntg-context
] % \showframe \definefloat   [marginfigure]   [figure] \setupfloat   [marginfigure]   [outermargindistance=-\outermargintotal,   default={outermargin,height,high,low,none}] \starttext \startstaticMPfigure{square}   draw fullsquare scaled 3cm; \stopstaticMPfigure \startitemize   \placemarginfigure

[NTG-context] Margin figure in itemize

2022-11-21 Thread Alexandre Christe via ntg-context
] \setuplayout [header=0pt, margin=4cm, footerdistance=.5cm, topspace=1cm, backspace=1cm, cutspace=2cm, width=fit, height=\dimexpr \paperheight-\topspace+\footerheight+\footerdistance-4cm\relax] % \showframe \definefloat [marginfigure] [figure] \setupfloat [marginfigure

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-17 Thread Fabrice Couvreur via ntg-context
Hi Bruce and Pablo, I'm sorry for the late reply but I'm running out of time right now. Thanks for trying to solve the problem. I think the problem comes from the pyramid.png file. Fabrice Le dim. 13 nov. 2022 à 14:37, Pablo Rodriguez via ntg-context < ntg-context@ntg.nl> a écrit : > On 11/13/22

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-16 Thread Fabrice Couvreur via ntg-context
Hi Bruce and Pablo, I'm sorry for the late reply but I'm running out of time right now. Thanks for trying to solve the problem. I think the problem comes from the pyramid.png file. Fabrice Le mer. 16 nov. 2022 à 14:55, Fabrice Couvreur a écrit : > Hi Bruce and Pablo, > I'm sorry for the late

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-13 Thread Pablo Rodriguez via ntg-context
On 11/13/22 11:32, Fabrice Couvreur via ntg-context wrote: > Hi Pablo, > Indeed but I posted these two files in a previous post. Hi Fabrice, the output from your ie_3.tex is too big for the list, so https://pdf.ousia.tk/ie_3.pdf contains it. I see no problem there, but I think that the output

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-13 Thread Fabrice Couvreur via ntg-context
Hi Pablo, Indeed but I posted these two files in a previous post. Fabrice Le dim. 13 nov. 2022 à 09:24, Pablo Rodriguez via ntg-context < ntg-context@ntg.nl> a écrit : > On 11/12/22 15:09, Fabrice Couvreur via ntg-context wrote: > > Hi Pablo and Bruce, > > Please t

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-13 Thread Pablo Rodriguez via ntg-context
On 11/12/22 15:09, Fabrice Couvreur via ntg-context wrote: > Hi Pablo and Bruce, > Please try to figure out what is not working. > I'm sorry but I forgot in my previous post files. Hi Fabrice, I get empty files when compiling premiere-modules.tex and premiere-macros.tex and erro

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-12 Thread Fabrice Couvreur via ntg-context
Hi Pablo and Bruce, Please try to figure out what is not working. I'm sorry but I forgot in my previous post files. Fabrice Le sam. 12 nov. 2022 à 12:28, Pablo Rodriguez via ntg-context < ntg-context@ntg.nl> a écrit : > On 11/11/22 21:58, Bruce Horrocks via ntg-context wrote: > >&

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-12 Thread Pablo Rodriguez via ntg-context
On 11/11/22 21:58, Bruce Horrocks via ntg-context wrote: >> On 10 Nov 2022, at 17:06, Fabrice Couvreur via ntg-context wrote: >> >> Hi, >> Sorry to come back to you, but it seems to me that there is enough space >> here. >> Fabrice > > For some reason your PNG images came through in extremely

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-11 Thread Bruce Horrocks via ntg-context
> On 10 Nov 2022, at 17:06, Fabrice Couvreur via ntg-context > wrote: > > Hi, > Sorry to come back to you, but it seems to me that there is enough space here. > Fabrice For some reason your PNG images came through in extremely low resolution. Without having the ConTeXt source it's hard to

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-10 Thread Fabrice Couvreur via ntg-context
gt;>>> >>>>> On 9 Nov 2022, at 18:22, Pablo Rodriguez via ntg-context < >>>>> ntg-context@ntg.nl> wrote: >>>>> > >>>>> > On 11/9/22 17:51, Fabrice Couvreur via ntg-context wrote: >>>>> &g

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-10 Thread Fabrice Couvreur via ntg-context
; > > > On 11/9/22 17:51, Fabrice Couvreur via ntg-context wrote: > >> Hi, > >> I find that for some time (but maybe the problem comes from me !), the > >> placement of a figure at the bottom of the page causes a page break when > >> it

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-09 Thread Bruce Horrocks via ntg-context
On 9 Nov 2022, at 18:22, Pablo Rodriguez via ntg-context wrote: > > On 11/9/22 17:51, Fabrice Couvreur via ntg-context wrote: >> Hi, >> I find that for some time (but maybe the problem comes from me !), the >> placement of a figure at the bottom of the page causes a pag

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-09 Thread Pablo Rodriguez via ntg-context
On 11/9/22 17:51, Fabrice Couvreur via ntg-context wrote: > Hi, > I find that for some time (but maybe the problem comes from me !), the > placement of a figure at the bottom of the page causes a page break when > it seems to me that there is enough space, which poses s

[NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-09 Thread Fabrice Couvreur via ntg-context
Hi, I find that for some time (but maybe the problem comes from me !), the placement of a figure at the bottom of the page causes a page break when it seems to me that there is enough space, which poses some problems in the pagination of my documents. Thanks. Fabrice \useMPlibrary[dum

Re: [NTG-context] Floating Figure in framed-environment

2022-10-19 Thread Wolfgang Schuster via ntg-context
not work and I haven’t found out why. Maybe I totally use it the wrong way. I would appreciate if someone could help me or has a tipp. Here is an example code, where the figure does not behave as expected, i.e. the figure is behind the text: [...] You have to use the textbackground mechanism

Re: [NTG-context] Floating Figure in framed-environment

2022-10-19 Thread Oliver Sieber via ntg-context
Dear Uschi Thanks for the example. But unfortunately it behaves similiar. As soon as I want to place the figure to the right by using \placefigure [right]… with floating text to the left. The framed environment behaves strange, i.e. it seems to ignore the image. Just using a centered image

Re: [NTG-context] Floating Figure in framed-environment

2022-10-19 Thread Ursula Hermann via ntg-context
. Oktober 2022 11:31 An: ntg-context@ntg.nl Cc: Oliver Sieber Betreff: [NTG-context] Floating Figure in framed-environment Dear ConTeXt Users I am relatively new to context and I am suffering with a problem with the framed environment. I want to use a framed textbox for Definitions in my script. I

[NTG-context] Floating Figure in framed-environment

2022-10-19 Thread Oliver Sieber via ntg-context
it the wrong way. I would appreciate if someone could help me or has a tipp. Here is an example code, where the figure does not behave as expected, i.e. the figure is behind the text: \starttext \framed[corner=round, rulethickness=2pt, width=\textwidth, align=flushleft, offset=1em,background=color

[NTG-context] TIL: figure combinations

2022-08-11 Thread Henning Hraban Ramm via ntg-context
You probably know about combinations to place images side by side: \startcombination[3*1] {\externalfigure[cow]}{cow} {\externalfigure[mill]}{mill} {\externalfigure[hacker]}{hacker} \stopcombination Now, the widths aren’t calculated automatically. You could define them on your own:

Re: [NTG-context] Set up external figure for particular image type

2022-08-01 Thread Hans Hagen via ntg-context
On 8/1/2022 2:29 AM, Thangalin via ntg-context wrote: Got it working. Complete solution: |\setupexternalfigures[ location={local,global,default}, width=\textwidth ] \defineexternalfigure[svg][width=1cm] \defineexternalfigure[jpg][width=2cm] \defineexternalfigure[png][width=4cm] % Won't be

Re: [NTG-context] Set up external figure for particular image type

2022-08-01 Thread Thangalin via ntg-context
Got it working. Complete solution: \setupexternalfigures[ location={local,global,default}, width=\textwidth ]\defineexternalfigure[svg][width=1cm]\defineexternalfigure[jpg][width=2cm]\defineexternalfigure[png][width=4cm] % Won't be applied because there's no process action.% Default

Re: [NTG-context] Set up external figure for particular image type

2022-07-18 Thread Wolfgang Schuster via ntg-context
Thangalin via ntg-context schrieb am 18.07.2022 um 19:10: Thank you, Wolfgang. That looks promising. SVG files are converted using MetaPost. I thought the following would work: svg=>{\externalfigure[#1][svg][conversion=mp]} You can probably remove the second argument ([svg]) which was

Re: [NTG-context] Set up external figure for particular image type

2022-07-18 Thread Thangalin via ntg-context
Thank you, Wolfgang. That looks promising. SVG files are converted using MetaPost. I thought the following would work: svg=>{\externalfigure[#1][svg][conversion=mp]} Is there anything else that needs to happen to ensure SVG files are piped through MetaPost? Thanks again! >

Re: [NTG-context] Set up external figure for particular image type

2022-07-18 Thread Thangalin via ntg-context
Of course, you could also use pandoc to go directly to ConTeXt; that is > currently my preferred way of producing PDF from Markdown. > Thanks Albert! I'm going to stick with my desktop text editor, KeenWrite , rather than use shell scripts

Re: [NTG-context] Set up external figure for particular image type

2022-07-18 Thread Thangalin via ntg-context
he source comes from Markdown, which is converted to XML, then typeset > using ConTeXt. There's no Markdown-specific mechanism to relate images to a > particular external figure definition, unfortunately. All images use the > same syntax and are treated the same way. The only part that differs is

Re: [NTG-context] Set up external figure for particular image type

2022-07-12 Thread Albert Krewinkel via ntg-context
Thangalin via ntg-context writes: > The source comes from Markdown, which is converted to XML, then typeset > using ConTeXt. There's no Markdown-specific mechanism to relate images > to a particular external figure definition, unfortunately. All images > use the same syntax and

Re: [NTG-context] Set up external figure for particular image type

2022-07-12 Thread Rik Kabel via ntg-context
On 2022-07-12 14:11, Thangalin via ntg-context wrote: Thank you for the suggestion Hraban. The source comes from Markdown, which is converted to XML, then typeset using ConTeXt. There's no Markdown-specific mechanism to relate images to a particular external figure definition, unfortunately

Re: [NTG-context] Set up external figure for particular image type

2022-07-12 Thread Wolfgang Schuster via ntg-context
Thangalin via ntg-context schrieb am 12.07.2022 um 20:11: Thank you for the suggestion Hraban. The source comes from Markdown, which is converted to XML, then typeset using ConTeXt. There's no Markdown-specific mechanism to relate images to a particular external figure definition

Re: [NTG-context] Set up external figure for particular image type

2022-07-12 Thread Thangalin via ntg-context
Thank you for the suggestion Hraban. The source comes from Markdown, which is converted to XML, then typeset using ConTeXt. There's no Markdown-specific mechanism to relate images to a particular external figure definition, unfortunately. All images use the same syntax and are treated the same

Re: [NTG-context] Set up external figure for particular image type

2022-07-08 Thread Henning Hraban Ramm via ntg-context
Am 08.07.22 um 17:46 schrieb Thangalin via ntg-context: I'd like to change the `maxheight` option for only PNG images, such as: Define your own figure class with \definexternalfigure: https://wiki.contextgarden.net/Command/defineexternalfigure It won’t automatically chose the file format

[NTG-context] Set up external figure for particular image type

2022-07-08 Thread Thangalin via ntg-context
external figure setups based on image type? Thank you! ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg

Re: [NTG-context] Space around figure

2022-04-28 Thread Alain Delmotte via ntg-context
value is big for each, but you can override that with null. Something like \setupfloat[figure][spacebefore=,spaceafter=] Hope that helps. Duncan On Thu, 28 Apr

Re: [NTG-context] Space around figure

2022-04-28 Thread Duncan Hothersall via ntg-context
You should be able to change the space above and below a float with the spacebefore and spaceafter keys to \setupfloat. I think the default value is big for each, but you can override that with null. Something like \setupfloat[figure][spacebefore=,spaceafter=] Hope that helps. Duncan On Thu

[NTG-context] Space around figure

2022-04-28 Thread Alain Delmotte via ntg-context
Hi, When one insert a figure in a text, I think that the default behaviour is to add space around the figure. Is tit possible to manage that space or suppress it? Thanks in advance, -- Alain

Re: [NTG-context] Full-page Figure?

2022-03-31 Thread Michael Urban via ntg-context
> On Mar 30, 2022, at 11:38 PM, Hans Hagen wrote: > > does adding page=no help? > Yes. Once again, everyone’s help has been spot on. ___ If your question is of interest to others as well, please add an entry to

Re: [NTG-context] Full-page Figure?

2022-03-31 Thread Hans Hagen via ntg-context
On 3/30/2022 11:41 PM, Michael Urban via ntg-context wrote: Almost there. But if I add \setuppagenumbering [alternative=doublesided] to the example, there is a blank page before the makeup page, and an unnumbered blank page after. If I add doublesided=no to the \setupmakeup options, the

Re: [NTG-context] Full-page Figure?

2022-03-30 Thread śrīrāma via ntg-context
On Tuesday, March 29, 2022 4:18 AM Michael Urban via ntg-context wrote: > Is there a simple way to accomplish this? Aside from the other solution using makeup, a simpler way might be to just use the 'page' option for positioning the float. The following MWE achieves the same result as that with

Re: [NTG-context] Full-page Figure?

2022-03-30 Thread śrīrāma via ntg-context
On Thursday, March 31, 2022 3:11 AM Michael Urban via ntg-context wrote: > Almost there. But if I add \setuppagenumbering [alternative=doublesided] > to the example, there is a blank page before the makeup page, and an > unnumbered blank page after. If I add doublesided=no to the >

Re: [NTG-context] Full-page Figure?

2022-03-30 Thread Michael Urban via ntg-context
Almost there. But if I add \setuppagenumbering [alternative=doublesided] to the example, there is a blank page before the makeup page, and an unnumbered blank page after. If I add doublesided=no to the \setupmakeup options, the unnumbered blank page is not there, but there is still a blank

Re: [NTG-context] Full-page Figure?

2022-03-28 Thread śrīrāma via ntg-context
On Tuesday, March 29, 2022 4:18 AM Michael Urban via ntg-context wrote: > Is there a simple way to accomplish this? I suppose you need 'postponing'. See https://wiki.contextgarden.net/Command/startpostponing [One can specify a page explicitly, or, more conveniently, an offset] First, we define

[NTG-context] Full-page Figure?

2022-03-28 Thread Michael Urban via ntg-context
I want to have a float (illustration for fiction, with caption) that takes up just one page, irrespective of the size of the image in the figure. This can be done with a \startmakeup, but makeup pages do not float, as near as I can tell; they interrupt the text (leaving a partly blank page

Re: [NTG-context] Bad linebreak in figure caption

2021-12-03 Thread Denis Maier via ntg-context
Patzer via ntg-context Gesendet: Freitag, 3. Dezember 2021 13:21:40 An: mailing list for ConTeXt users Cc: Marco Patzer Betreff: Re: [NTG-context] Bad linebreak in figure caption On Fri, 3 Dec 2021 09:14:59 +0100 Taco Hoekwater wrote: > Captions have their own alignment sett

Re: [NTG-context] Bad linebreak in figure caption

2021-12-03 Thread Marco Patzer via ntg-context
On Fri, 3 Dec 2021 09:14:59 +0100 Taco Hoekwater wrote: > Captions have their own alignment setting: > > \setupcaption[figure][align={verytolerant,stretch}] Thanks. Wikified: https://wiki.contextgarden.net/Command/setuptolerance Is there a good reason why captions (as well as e.

Re: [NTG-context] Bad linebreak in figure caption

2021-12-03 Thread Taco Hoekwater via ntg-context
x this? Captions have their own alignment setting: \setupcaption[figure][align={verytolerant,stretch}] Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki!

Re: [NTG-context] Bad linebreak in figure caption

2021-12-02 Thread Marco Patzer via ntg-context
On Mon, 29 Nov 2021 16:44:07 +0100 Marco Patzer via ntg-context wrote: > Why does ConTeXt not break the line between "unnecessary" and "FOO"? Any ideas how to fix this? Marco ___ If your question is of interest to

[NTG-context] Caption with hanging figure label

2021-11-30 Thread Ben Moon via ntg-context
Hi, I’d like to create a caption with the first line hanging/outdented compared to the lines afterwards, like this: > Figure 1. Here is the line of text >that goes on to a second line. The >first line is hanging. I’ve posted this question here: <https://tex.stackexchange.

[NTG-context] Bad linebreak in figure caption

2021-11-29 Thread Marco Patzer via ntg-context
Hi! The caption "FOO" runs into the right figure's caption: \setuplayout [width=18.4cm] \setuptolerance [verytolerant, stretch] %% even with stretch \starttext \startplacefigure \startfloatcombination \startplacefigure [title=Unexpectedly unnecessary FOO-BAR whatever]

[NTG-context] figure not added in current latest

2021-11-17 Thread Pablo Rodriguez via ntg-context
Hi Hans, I have the following sample: \setuppapersize[S6] \startbuffer[flag] \setuppapersize[S6] \starttext \startmakeup[page][align=center] \dontleavehmode \externalfigure[uk-flag.pdf][width=.8\textwidth] \stopmakeup \stoptext \stopbuffer \starttext

Re: [NTG-context] positioning of metapost figure

2021-09-12 Thread Sylvain Hubert via ntg-context
> > \startuniqueMPgraphic{concept} > > draw fullcircle scaled 1cm shifted (10cm,10cm); > > \stopuniqueMPgraphic > > \defineoverlay[concept][\uniqueMPgraphic{concept}] > > \setupbackgrounds[page][background=concept] > > \starttext > > . > > \stoptext > >

Re: [NTG-context] positioning of metapost figure

2021-09-12 Thread Hans Hagen via ntg-context
ay[concept][\uniqueMPgraphic{concept}] \setupbackgrounds[page][background=concept] \starttext . \stoptext How should the metapost background figure be positioned correctly? \startuniqueMPgraphic{concept} StartPage; draw fullcircle scaled 1cm shifted (10cm,10cm); draw Page withpen

[NTG-context] positioning of metapost figure

2021-09-12 Thread Sylvain Hubert via ntg-context
nd=concept] \starttext . \stoptext How should the metapost background figure be positioned correctly? Thanks! Best, Sylvain ___ If your question is of interest to others as well, please add an entry to the Wiki! mail

[NTG-context] Expanding a figure into the second column

2021-05-16 Thread Jeroen
I have the following MWE whereby the figure nicely fits the first column. If I now have a picture with more details and want to expand it partially into the second column, it will not work with width=1.5\textwidth , is there a simple way to achieve this? \starttext \startcolumns[n=2] \input

Re: [NTG-context] adding url as a footnote in the caption of figure

2020-12-30 Thread Jeong Dal
Dear Pablo, Thank you for your reply. I just search wiki not the mailing list. I never used \setupnote before. > I would say that LMTX is causing an issue here (but for sure Hans knows > better). > > The issue with your MWE is solved by adding: > > \setupnote[footnote][width=\textwidth] It

[NTG-context] adding url as a footnote in the caption of figure

2020-12-29 Thread Jeong Dal
Hi, I am trying to add a url as a footnote in the caption. There is no error, but it is written in two lines in the footnote. I also try \hyphenatedurl, \letterslash in the wiki, but it is no use. I am using "ConTeXt ver: 2020.12.22 22:14 LMTX”. Thank you for reading. Best regards, Dalyoung

Re: [NTG-context] adding url as a footnote in the caption of figure

2020-12-29 Thread Pablo Rodriguez
On 12/29/20 8:23 PM, Jeong Dal wrote: > [...] > I am trying to add a url as a footnote in the caption. > There is no error, but it is written in two lines in the footnote. > I also try \hyphenatedurl, \letterslash in the wiki, but it is no use. > I am using "ConTeXt  ver: 2020.12.22 22:14 LMTX”.

Re: [NTG-context] LMTX ignores figure size

2020-12-04 Thread Hans Hagen
On 12/4/2020 11:19 AM, Henning Hraban Ramm wrote: Hi, with latest LMTX, the size (width) of external figures is ignored in floats, while it works outside of floats and with MkIV. It also works with metapost figures (e.g. dum library). \setupexternalfigure[location=default] \starttext

[NTG-context] LMTX ignores figure size

2020-12-04 Thread Henning Hraban Ramm
Hi, with latest LMTX, the size (width) of external figures is ignored in floats, while it works outside of floats and with MkIV. It also works with metapost figures (e.g. dum library). \setupexternalfigure[location=default] \starttext \startplacefigure[location=here]

Re: [NTG-context] embed metapost figure into document

2020-11-09 Thread Sylvain Hubert
gt; Hi Jairo, Thank you very much for the suggestion and the thorough explanation. I extracted the metapost code to a new file because I felt it would be a bit lengthy and noisy to stay with the text content. But you're right, an extra compilation step is not any better. I should probably use

Re: [NTG-context] embed metapost figure into document

2020-11-09 Thread Jairo A. del Rio
Hi, Sylvain. LuaMetaTeX and LuaTeX, the engines used by ConTeXt nowadays, use an embedded library, so external compilations/files are not necessary. Just out of curiosity, wouldn't it be easier to use a ConTeXt environment? E.g.: \starttext \startMPcode %\startuseMPgraphic{} if you want to reuse

[NTG-context] embed metapost figure into document

2020-11-09 Thread Sylvain Hubert
Dear List, I'm trying to embed a metapost image into the document. According the MetaFun manual , "embedding such a graphic is done by: \externalfigure[graphic.123][width=4cm]", but the following example produces an empty page: %

[NTG-context] figure library

2020-10-12 Thread Jörg Hagmann
I have used figure libraries in the mkII past. But my recent attempts with mkIV, following the instructions on ConTeXt Wiki (https://wiki.contextgarden.net/Image_Database), have failed. The following happens: 1. When running the command "context --input=figure-lib.xml auto:x-res-01

Re: [NTG-context] Text around a figure

2020-07-16 Thread Fabrice Couvreur
Hi Otared and Wolfgang, It's great, the following code does the job! Thank you so much. Fabrice \useMPlibrary[dum] \definecolor[fondpaille][c=0,m=0,y=0.2,k=0] \setupfloats[freeregion=no] \definetextbackground[fondpaille] [background=color, backgroundcolor=fondpaille,

Re: [NTG-context] Text around a figure

2020-07-16 Thread Wolfgang Schuster
Otared Kavian schrieb am 16.07.2020 um 11:58: Hi Fabrice, Maybe you can play with different settings of your textbackground, as in \definetextbackground[fondpaille] [background=color, backgroundcolor=fondpaille, frame=off, location=paragraph, % or: text, always,

Re: [NTG-context] Text around a figure

2020-07-16 Thread Otared Kavian
] % change the value here Best regards: Otared > On 16 Jul 2020, at 11:10, Fabrice Couvreur > wrote: > > Hi Otared and Wolfgang, > Thanks for your help ; the result is almost what I want (the space between > the text and the figure is not colored) but it is likely that we coul

Re: [NTG-context] Text around a figure

2020-07-16 Thread Fabrice Couvreur
Hi Otared and Wolfgang, Thanks for your help ; the result is almost what I want (the space between the text and the figure is not colored) but it is likely that we could not do better. Fabrice Le mer. 15 juil. 2020 à 22:25, Otared Kavian a écrit : > Hi Fabrice, > > I think what

Re: [NTG-context] Text around a figure

2020-07-15 Thread Otared Kavian
: Otared K. > On 15 Jul 2020, at 22:13, Wolfgang Schuster > wrote: > > Fabrice Couvreur schrieb am 15.07.2020 um 19:54: >> Hello, >> I always encounter difficulties with the placement of figures in such a way >> that the text envelops the figure. >> Thank

Re: [NTG-context] Text around a figure

2020-07-15 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 15.07.2020 um 19:54: Hello, I always encounter difficulties with the placement of figures in such a way that the text envelops the figure. Thank you. Fabrice \useMPlibrary[dum] \definecolor[fondpaille][c=0,m=0,y=0.2,k=0] \starttext \startframedtext[width=max

[NTG-context] Text around a figure

2020-07-15 Thread Fabrice Couvreur
Hello, I always encounter difficulties with the placement of figures in such a way that the text envelops the figure. Thank you. Fabrice \useMPlibrary[dum] \definecolor[fondpaille][c=0,m=0,y=0.2,k=0] \starttext \startframedtext[width=max,background=color,backgroundcolor=fondpaille

Re: [NTG-context] Arithmetic overflow on placing an external figure in MP

2019-09-08 Thread Hans Hagen
On 9/7/2019 10:47 PM, Henning Hraban Ramm wrote: Bear with me, I still got no experience in MetaPost… I’m trying to place a pixel image on a MP page. According to the MetaFun manual this should work: \startMPpage draw externalfigure "mill.png" scaled 5cm shifted (-6cm,0) ; \stopMPpage And it

Re: [NTG-context] Arithmetic overflow on placing an external figure in MP

2019-09-07 Thread Fabrice L
Hi, > Le 7 sept. 2019 à 16:47, Henning Hraban Ramm a écrit : > > Bear with me, I still got no experience in MetaPost… > > I’m trying to place a pixel image on a MP page. > > According to the MetaFun manual this should work: > > \startMPpage > draw externalfigure "mill.png" scaled 5cm shifted

[NTG-context] Arithmetic overflow on placing an external figure in MP

2019-09-07 Thread Henning Hraban Ramm
Bear with me, I still got no experience in MetaPost… I’m trying to place a pixel image on a MP page. According to the MetaFun manual this should work: \startMPpage draw externalfigure "mill.png" scaled 5cm shifted (-6cm,0) ; \stopMPpage And it works with mill.png (copied into my test dir), but

  1   2   3   4   5   6   7   8   9   >